import { getRequest } from '@/utils/request'

export const indexApi = {
  // 站点信息
  websiteInfo: () => {
    return getRequest('/v1/api/common/website')
  },
  // 分类列表
  categoryList: () => {
    return getRequest('/v1/api/category/list')
  },
  // 获取枚举
  getEnum: (data) => {
    return getRequest('/v1/api/common/enum', data)
  }
}
